package example.designpattern.fsm.event;

/**
 * 状态转变发生后事件
 */
public abstract class AbstractTransitionEvent<T> {
  protected String name;
  protected T source;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public T getSource() {
    return source;
  }

  public void setSource(T source) {
    this.source = source;
  }
}